export default {
  addData (state, playload) {
    state.baseInfo.idcard = playload.idcard
    state.baseInfo.phone = playload.phone
  },
  addUsername (state, playload) {
    state.baseInfo.name = playload.name
    state.baseInfo.sex = playload.sex
    state.baseInfo.birthday = playload.birthday
    state.baseInfo.politics = playload.politics
    state.baseInfo.education = playload.education
    state.baseInfo.height = playload.height
    state.baseInfo.native_type = playload.native_type
    state.baseInfo.is_marry = playload.is_marry
    state.baseInfo.native_addr = playload.native_addr
    state.baseInfo.native_addr_desc = playload.native_addr_desc
    state.baseInfo.home_addr = playload.home_addr
    state.baseInfo.home_addr_desc = playload.home_addr_desc
    state.baseInfo.tel = playload.tel
    state.baseInfo.work_place = playload.work_place
    state.baseInfo.eye_left = playload.eye_left
    state.baseInfo.eye_right = playload.eye_right
    state.baseInfo.summary = playload.summary
  },
  addBmInformation (state, playload) {
    state.baseInfo.exam_job = playload.exam_job
    state.baseInfo.assign_able = playload.assign_able
  },
  learnWork (state, playload) {
    state.baseInfo.person_record = playload.person_record
  },
  person_family (state, playload) {
    state.baseInfo.person_family = playload.person_family
  },
  contact (state, playload) {
    state.baseInfo.sms_code = playload.sms_code
    state.baseInfo.phone = playload.phone
  }
}
